/**
 * 
 */
package de.midnightdance.admin.clan;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;

/**
 * @author Stefan Alter
 *
 */
public class ViewClans extends ViewPart {

	public static final String ID = "de.midnightdance.admin.clan.ViewClans";
	
	private CompositeEditClans compositeEditEntities;
	

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	@Override
	public void createPartControl(Composite parent) {
		compositeEditEntities = new CompositeEditClans(parent, SWT.NONE);
		compositeEditEntities.setLayoutData(new GridData(GridData.FILL_BOTH));		

	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
	 */
	@Override
	public void setFocus() {		
	}
	/**
	 * @return the compositeEditEntities
	 */
	public CompositeEditClans getCompositeEditEntities() {
		return compositeEditEntities;
	}

}
